import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class LinkFrame extends JFrame implements ActionListener {
	private JButton lb = null;

	private String str = "http://www.sohu.com ";

	public LinkFrame() {

		lb = new JButton(" <html> <a   href= " + str + "> InterFax </a> </html> ");
		lb.addActionListener(this);
		Container cn = this.getContentPane();
		cn.add(lb);
		this.pack();
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.show();
	}

	public void actionPerformed(ActionEvent e) {
		try {
			Runtime.getRuntime().exec("C:\\Program   Files\\Internet   Explorer\\IEXPLORE.EXE   " + str);
		} catch (Exception ee) {
			ee.printStackTrace();
		}
	}

	public static void main(String[] args) {
		new LinkFrame();
	}
}